//
//  RefreshTableView.h
//  GlobayPaySimplify
//
//  Created by Epay on 15/5/7.
//  Copyright (c) 2015年 Epaylinks. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol CustomRefreshDelegate <NSObject>

@required
//下拉刷新
- (void)pullDownDataWithType:(NSUInteger)type;
//上拉更多
- (BOOL)pullUpDataWithType:(NSUInteger)type;

@end

@interface RefreshTableView : UITableView

@property (nonatomic,assign)id<CustomRefreshDelegate>refreshDeleage;
@property (nonatomic) BOOL haveNewData;
@property (nonatomic) NSUInteger tradeType;
- (instancetype)initWithDelegate:(id)refDelegate andStyle:(UITableViewStyle)style andTradeType:(NSUInteger)type;

@end
